import { HTMLElement, parse } from 'node-html-parser';
const html = `
<!-- @widgets dependencies begin -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3/dist/js/bootstrap.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@3/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-multiselect/dist/css/bootstrap-multiselect.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap-multiselect/dist/js/bootstrap-multiselect.min.js"></script>
<!-- @widgets dependencies end -->
<div class="container">
	<div class="row ">
		<div class=" col24">
			<section>
				<div id="@component" class=" pos-r" style="height:11.9rem;width:11.88rem;" data-feidao-props='{"abc":"lalala"}'>
					<div class=" pos-a border" style=" width:11.88rem; top:0rem; height:1.8rem; left:0rem;">
						<div data-feidao-presentation="P_01" class=" pos-a bg-f4 border-b" style=" width:11.86rem; top:0rem; height:0.4rem; left:0rem;"><span class=" pos-a bg-fff font-b" style=" line-height:0.4rem; height:0.4rem; top:0rem; width:1.4rem; left:0rem; text-align:center;border-bottom:1px solid #fff;border-right:1px solid #ccc;">友情链接</span></div>
						<div data-feidao-presentation="P_02" class=" pos-a" style=" overflow-y:auto; width:11.5rem; top:0.5rem; height:1.2rem; left:0.2rem;">&nbsp;</div>
					</div>
				</div>
			</section>
		</div>
	</div>
	<div class="row ">
		<div class=" col24">
			<section>
				<div><strong>@component</strong></div>
				<div data-feidao-type="@component" id="@component">
					服务端渲染，dask
				</div>
			</section>
		</div>
	</div>
	<div class="row ">
		<div class=" col24">
			<section>
				<div><strong>@component</strong></div>
				<div data-feidao-type="@component" id="@component" data-feidao-actions="click:eu01" style="width:200px;height:200px;border: solid;">
				dask + nools
				<div style="width:100px;height:100px;border: solid;" data-feidao-actions="click:eu02">子节点</div>
				</div>
			</section>
		</div>
	</div>
</div>`;

export default parse(html);
